package com.estun.backroundManagementService.modules.alarm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.estun.backroundManagementService.modules.alarm.model.AlarmResult;
import com.estun.backroundManagementService.modules.alarm.model.StationAlarm;
import com.estun.backroundManagementService.modules.alarm.model.StationAlarmMapping;

import java.util.List;

/**
 * @author yusiocng
 * @date 2023/12/19
 * @description 告警service
 */
public interface StationAlarmService extends IService<StationAlarm> {
    StationAlarmMapping getStationCodeByAlarmIndex(String alarmIndex);

    List<AlarmResult> getByLatestAlarmList(String opCode);

    List<StationAlarm> getAlarmListByStationIdList(List<String> stationIdList, String begin, String end);
}
